package com.beermanager.domain;

import com.beermanager.googleapi.place.PlaceEntry;

import android.graphics.Bitmap;

public class Bar {
    private String name;
    private String address;
    private String city;
    private String country;
    private Bitmap picture;

    public Bar(String name) {
        this.name = name;
        address = "";
        city = "";
        country = "Brasil";
        picture = null;
    }

    public Bar(String name, String address, String city, String country, Bitmap picture) {
        this.name = name;
        this.address = address;
        this.city = city;
        this.country = country;
        this.picture = picture;
    }
    
    public void fromGooglePlace(PlaceEntry entry)
    {
    	this.name = entry.name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public String getCity() {
        return city;
    }

    public String getCountry() {
        return country;
    }

    public Bitmap getPicture() {
        return picture;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public void setPicture(Bitmap picture) {
        this.picture = picture;
    }
    
    
}
